package vip.hamlin.net.init;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import java.io.IOException;

@Configuration
@ComponentScan(basePackages = "vip.hamlin.*")
public class Initialize {
    @SuppressWarnings({"ResultOfMethodCallIgnored", "InfiniteLoopStatement"})
    public static void main(String[] args) throws IOException {
        new AnnotationConfigApplicationContext(Initialize.class);
    }
}

